<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>{:session('cp.cpsysname')}--商户管理平台</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
    <meta name="description" content="{:config('webconfig.description');}">
    <meta name="keywords" content="{:config('webconfig.keywords');}">
    <meta name="author" content="runoob">
    <link href="__STATIC_URL__/static/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" type="text/css" href="__STATIC_URL__/static/css/index.css"/>
    <link rel="stylesheet" type="text/css" href="__STATIC_URL__/static/css/cardinfo.css"/>
  <script src="__STATIC_URL__/static/js/jquery.min.js" type="text/javascript" charset="utf-8"></script>
  <script src="__STATIC_URL__/static/bootstrap/3.3.7/js/bootstrap.min.js" type="text/javascript" charset="utf-8"></script>
    <script src="__STATIC_URL__/static/js/commen.js" type="text/javascript" charset="utf-8"></script>
    <style>
        @media (min-width: 1367px){
            .col-slg-2 {
                width: 16.66666667%;
            }
        }
        .span4 {
            display: block;
            width: 100%;
            text-align: center;
            float: left;
            padding: 25px 0px;
            background: #23b99e;
        }
        .btn-wrap{
            display: block;
            width: 100%;
            text-align: center;
            float: left;
            padding: 25px 0px;
        }
        .btn-wrap i {
            font-size: 55px;
            display: block;
            color: #23d8d1;
        }
        .btn-box.small i {
            font-size: 55px;
            display: block;
            color: #fff;
        }
        .btn-wrap b {
            font-size: 22px;
            font-weight: normal;
            margin-top: 15px;
            display: block;
        }
        .btn-box b {
            color: #fff;
            font-size: 22px;
            font-weight: normal;
            margin-top: 15px;
            display: block;
        }
        .hover:hover a{
            background: darkred;
            color: #fff;
        }
        .hover{
            margin-bottom: 15px;
        }
    </style>
</head>
<body id="body">
{include file='public/header'/}
<!------------------导航-------------------------->
<section>
    {include file='public/left'/}
    <!--------------------------主要内容区域------------------------------------->
    <div class="content">
        <!--路径导航-->
        <ol class="breadcrumb mgl15 mgr15">
            <li>当前位置是&nbsp;:</li>
            <li>
                <a href="javascript:window.history.back();">会员卡列表</a>
            </li>
            <li class="active">控制面板</li>
        </ol>
        <!--创建会员卡主要内容-->
        <div class="card-content mgl15 mgr15 clearfix">
            <div class="panel-default panel" ><div class="panel-heading">常用功能</div>
                <div class="panel-body ng-scope">
                    <div class="application-list row" style="margin-right: 0;">
                        {if condition="checkPath('cardus/getlist')"}
                        <div class="col-xs-6 col-md-4 col-lg-2 col-sm-6 hover">
                            <a href="{:url('cardus/getlist',['card_id'=>$info['card_id']])}" class="btn-box small span4">
                                <i class="glyphicon glyphicon-education"></i>
                                <b>会员列表</b>
                            </a>
                        </div>
                        {/if}
                        {if condition="checkPath('shop/shopmall')"}
                        <div class="col-xs-6 col-md-4 col-lg-2 col-sm-6 hover">
                            <a href="{:url('shop/shopmall',['card_id'=>$info['card_id']])}" class="btn-box small span4">
                                <i class="glyphicon glyphicon-gift"></i>
                                <b>积分商城</b>
                            </a>
                        </div>
                        {/if}
                        {if condition="checkPath('cardus/ranklist')"}
                        <div class="col-xs-6 col-md-4 col-lg-2 col-sm-6 hover">
                            <a href="{:url('cardus/ranklist',['card_id'=>$info['card_id']])}" class="btn-box small span4">
                                <i class="glyphicon glyphicon-send"></i>
                                <b>会员等级</b>
                            </a>
                        </div>
                        {/if}
                        {if condition="checkPath('cardus/qrcodelist')"}
                        <div class="col-xs-6 col-md-4 col-lg-2 col-sm-6 hover">
                            <a href="{:url('cardus/qrcodelist',['card_id'=>$info['card_id']])}" class="btn-box small span4">
                                <i class="glyphicon glyphicon-qrcode"></i>
                                <b>渠道二维码</b>
                            </a>
                        </div>
                        {/if}
                        {if condition="checkPath('cardus/storagegl')"}
                        <div class="col-xs-6 col-md-4 col-lg-2 col-sm-6 hover">
                            <a href="{:url('cardus/storagegl',['card_id'=>$info['card_id']])}" class="btn-box small span4">
                                <i class="glyphicon glyphicon-credit-card"></i>
                                <b>储值管理</b>
                            </a>
                        </div>
                        {/if}
                        {eq name=":session('login_top_mid')" value="1"}
                        <div class="col-xs-6 col-md-4 col-lg-2 col-sm-6 hover">
                            <a href="{:url('cardjc/cardjclist',['card_id'=>$info['card_id']])}" class="btn-box small span4">
                                <i class="glyphicon glyphicon-credit-card"></i>
                                <b>计次卡</b>
                            </a>
                        </div>
                        {/eq}
                        {if condition="checkPath('cardus/editstocks')"}
                        <div class="col-xs-6 col-md-4 col-lg-2 col-sm-6 hover">
                            <a href="{:url('cardus/editstocks',['card_id'=>$info['card_id']])}" class="btn-box small span4">
                                <i class="glyphicon glyphicon-cog"></i>
                                <b>库存设置</b>
                            </a>
                        </div>
                        {/if}
                    </div>
                </div>
            </div>
            <div class="panel panel-default">
                <div class="panel-heading">
                    会员卡设置
                </div>
                <div class="panel-body">
                    <div class="row application-list">
                        {if condition="checkPath('cardus/editcards')"}
                        <div class="col-xs-6 col-md-4 col-lg-2 col-sm-6 hover">
                            <a href="{:url('cardus/editcards',['card_id'=>$info['card_id']])}" class="btn-wrap">
                                <i class="glyphicon glyphicon-cog"></i>
                                <b>基础设置</b>
                            </a>
                        </div>
                        {/if}
                        {if condition="checkPath('cardus/usercenter')"}
                        <div class="col-xs-6 col-md-4 col-lg-2 col-sm-6 hover">
                            <a href="{:url('cardus/usercenter',['card_id'=>$info['card_id']])}" class="btn-wrap">
                                <i class="glyphicon glyphicon-flag"></i>
                                <b>会员中心设置</b>
                            </a>
                        </div>
                        {/if}
                        {if condition="checkPath('cardus/activezd')"}
                        {eq name="info.activate" value="0"}
                        <div class="col-xs-6 col-md-4 col-lg-2 col-sm-6 hover">
                            <a href="{:url('cardus/activezd',['card_id'=>$info['card_id']])}" class="btn-wrap">
                                <i class="glyphicon glyphicon-edit"></i>
                                <b>激活字段</b>
                            </a>
                        </div>
                        {/eq}
                        {/if}
                        {if condition="checkPath('marke/paycard')"}
                        <div class="col-xs-6 col-md-4 col-lg-2 col-sm-6 hover">
                            <a href="{:url('marke/paycard',['card_id'=>$info['card_id']])}" class="btn-wrap">
                                <i class="glyphicon glyphicon-glass"></i>
                                <b>支付即会员</b>
                            </a>
                        </div>
                        {/if}
                        {if condition="checkPath('cardus/paycardus')"}
                        <div class="col-xs-6 col-md-4 col-lg-2 col-sm-6 hover">
                            <a href="{:url('cardus/paycardus',['card_id'=>$info['card_id']])}" class="btn-wrap">
                                <i class="glyphicon glyphicon-credit-card"></i>
                                <b>付费卡</b>
                            </a>
                        </div>
                        {/if}
                        {if condition="checkPath('cardus/diswitch')"}
                        <div class="col-xs-6 col-md-4 col-lg-2 col-sm-6 hover">
                            <a href="{:url('cardus/diswitch',['card_id'=>$info['card_id']])}" class="btn-wrap">
                                <i class="glyphicon glyphicon-briefcase"></i>
                                <b>折扣开关</b>
                            </a>
                        </div>
                        {/if}
                        {if condition="checkPath('marke/setshare')"}
                        <div class="col-xs-6 col-md-4 col-lg-2 col-sm-6 hover">
                            <a href="{:url('marke/setshare',['card_id'=>$info['card_id']])}" class="btn-wrap">
                                <i class="glyphicon glyphicon-tree-deciduous"></i>
                                <b>分享设置</b>
                            </a>
                        </div>
                        {/if}
                        {if condition="checkPath('cardus/carduslink')"}
                        <div class="col-xs-6 col-md-4 col-lg-2 col-sm-6 hover">
                            <a href="{:url('cardus/carduslink',['card_id'=>$info['card_id']])}" class="btn-wrap">
                                <i class="glyphicon glyphicon-tree-deciduous"></i>
                                <b>常用链接</b>
                            </a>
                        </div>
                        {/if}
                        {if condition="checkPath('cardus/bonusset')"}
                        <div class="col-xs-6 col-md-4 col-lg-2 col-sm-6 hover">
                            <a href="{:url('cardus/bonusset',['card_id'=>$info['card_id']])}" class="btn-wrap">
                                <i class="glyphicon glyphicon-briefcase"></i>
                                <b>积分设置</b>
                            </a>
                        </div>
                        {/if}
                    </div>
                </div>
            </div>
        </div>

        {include file='public/footer'/}
    </div>
</section>
</body>
</html>
